Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: refactor monaco initialization #1012

Merged
merged 5 commits into from
Aug 13, 2024

Conversation

Kevin101Zhang
Copy link
Contributor

@Kevin101Zhang Kevin101Zhang commented Aug 12, 2024

all removed files:

DiffEditorComponent.js
MonacoEditorComponent.js
resize.js
block_details.js 

refactored ResizableLayout to house the functionality in a reusable dp.
Results are some absurdly fast transitions between tabs.

New Resizable Editor File
Encompasses logic from MonacoEditorComponent,DiffEditorComponent, ResizableLayout, ResizeableLayoutEditor

Upon refactoring resizable (resize.js), and block_details.js were removed as there are no real functionality used around them.

@Kevin101Zhang Kevin101Zhang linked an issue Aug 12, 2024 that may be closed by this pull request
@Kevin101Zhang Kevin101Zhang changed the title chore: remove resize and deadcode, simplified component feat: add monaco types to editor Aug 12, 2024
@Kevin101Zhang Kevin101Zhang changed the title feat: add monaco types to editor feat: refactor monaco initialization Aug 12, 2024
@Kevin101Zhang Kevin101Zhang marked this pull request as ready for review August 12, 2024 21:39
@Kevin101Zhang Kevin101Zhang requested a review from a team as a code owner August 12, 2024 21:39
@Kevin101Zhang
Copy link
Contributor Author

File has a strong amount of refactoring. Ill keep the transition to TS in a separate PR.

@Kevin101Zhang Kevin101Zhang self-assigned this Aug 12, 2024
@Kevin101Zhang Kevin101Zhang linked an issue Aug 12, 2024 that may be closed by this pull request
@Kevin101Zhang Kevin101Zhang merged commit 8dd78c7 into main Aug 13, 2024
4 checks passed
@Kevin101Zhang Kevin101Zhang deleted the 1000-add-near-lakeprimitives-types-to-editor branch August 13, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Monaco Editor errors/hints position are behind the Editor Add @near-lake/primitives types to Editor
1 participant